package cn.wellcare.entity;

import java.io.Serializable;

/**
 * 
 * <p>Table: <strong>sys_organization</strong>
 * <p><table class="er-mapping" cellspacing=0 cellpadding=0 style="border:solid 1 #666;padding:3px;">
 *   <tr style="background-color:#ddd;Text-align:Left;">
 *     <th nowrap>属性名</th><th nowrap>属性类型</th><th nowrap>字段名</th><th nowrap>字段类型</th><th nowrap>说明</th>
 *   </tr>
 *   <tr><td>authName</td><td>{@link String}</td><td>auth_name</td><td>character varying</td><td>认证用户名</td></tr>
 *   <tr><td>authPwd</td><td>{@link String}</td><td>auth_pwd</td><td>character varying</td><td>认证密码</td></tr>
 *   <tr><td>authSecret</td><td>{@link String}</td><td>auth_secret</td><td>text</td><td>认证密钥</td></tr>
 *   <tr><td>id</td><td>{@link Integer}</td><td>id</td><td>integer</td><td>id</td></tr>
 *   <tr><td>orgCode</td><td>{@link String}</td><td>org_code</td><td>character varying</td><td>机构编码</td></tr>
 *   <tr><td>orgIndex</td><td>{@link String}</td><td>org_index</td><td>character varying</td><td>机构主页</td></tr>
 *   <tr><td>orgName</td><td>{@link String}</td><td>org_name</td><td>character varying</td><td>机构名称</td></tr>
 *   <tr><td>pyCode</td><td>{@link String}</td><td>py_code</td><td>character varying</td><td>拼音码</td></tr>
 *   <tr><td>roleId</td><td>{@link Integer}</td><td>role_id</td><td>integer</td><td>角色</td></tr>
 *   <tr><td>shortName</td><td>{@link String}</td><td>short_name</td><td>character varying</td><td>机构简称</td></tr>
 *   <tr><td>status</td><td>{@link Integer}</td><td>status</td><td>smallint</td><td>状态 1-正常 2-冻结 3-删除</td></tr>
 * </table>
 *
 */
public class SysOrganization implements Serializable {

 	/**
	 *
	 */
	private static final long serialVersionUID = 1639046695370344704L;
	private String authName; //认证用户名
 	private String authPwd; //认证密码
 	private String authSecret; //认证密钥
 	private Integer id; //id
 	private String orgCode; //机构编码
 	private String orgIndex; //机构主页
 	private String orgName; //机构名称
 	private String pyCode; //拼音码
 	private Integer roleId; //角色
 	private String shortName; //机构简称
 	private Integer status; //状态 1-正常 2-冻结 3-删除

 	public static final int ORG_STATUS_NORM=1;
 	public static final int ORG_STATUS_FREEZE=2;
 	public static final int ORG_STATUS_DELETED=3;

	/**
     * 获取认证用户名
     */
	public String getAuthName(){
		return this.authName;
	}

	/**
     * 设置认证用户名
     */
	public void setAuthName(String authName){
		this.authName = authName;
	}


	/**
     * 获取认证密码
     */
	public String getAuthPwd(){
		return this.authPwd;
	}

	/**
     * 设置认证密码
     */
	public void setAuthPwd(String authPwd){
		this.authPwd = authPwd;
	}


	/**
     * 获取认证密钥
     */
	public String getAuthSecret(){
		return this.authSecret;
	}

	/**
     * 设置认证密钥
     */
	public void setAuthSecret(String authSecret){
		this.authSecret = authSecret;
	}


	/**
     * 获取id
     */
	public Integer getId(){
		return this.id;
	}

	/**
     * 设置id
     */
	public void setId(Integer id){
		this.id = id;
	}


	/**
     * 获取机构编码
     */
	public String getOrgCode(){
		return this.orgCode;
	}

	/**
     * 设置机构编码
     */
	public void setOrgCode(String orgCode){
		this.orgCode = orgCode;
	}


	/**
     * 获取机构主页
     */
	public String getOrgIndex(){
		return this.orgIndex;
	}

	/**
     * 设置机构主页
     */
	public void setOrgIndex(String orgIndex){
		this.orgIndex = orgIndex;
	}


	/**
     * 获取机构名称
     */
	public String getOrgName(){
		return this.orgName;
	}

	/**
     * 设置机构名称
     */
	public void setOrgName(String orgName){
		this.orgName = orgName;
	}


	/**
     * 获取拼音码
     */
	public String getPyCode(){
		return this.pyCode;
	}

	/**
     * 设置拼音码
     */
	public void setPyCode(String pyCode){
		this.pyCode = pyCode;
	}


	/**
     * 获取角色
     */
	public Integer getRoleId(){
		return this.roleId;
	}

	/**
     * 设置角色
     */
	public void setRoleId(Integer roleId){
		this.roleId = roleId;
	}


	/**
     * 获取机构简称
     */
	public String getShortName(){
		return this.shortName;
	}

	/**
     * 设置机构简称
     */
	public void setShortName(String shortName){
		this.shortName = shortName;
	}


	/**
     * 获取状态 1-正常 2-冻结 3-删除
     */
	public Integer getStatus(){
		return this.status;
	}

	/**
     * 设置状态 1-正常 2-冻结 3-删除
     */
	public void setStatus(Integer status){
		this.status = status;
	}
 }